<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" th:href="@{/layui/css/layui.css}">
    <link rel="stylesheet" th:href="@{/css/scroll.css}">
    <style>
        input{
            width: 50%;
            height: 30px;
        }
    </style>
</head>
<body>
<div class="layui-fluid">
    <nav style="margin: 10px 0; padding-bottom:5px;border-bottom: 1px dashed darkgray;">
    <span class="layui-breadcrumb">
        <a th:href="@{/admin/home}">首页</a>
        <a>系统管理</a>
        <a>
            <cite>资料管理</cite>
        </a>
    </span>
    </nav>
    <div style="width: 700px;margin: 200px auto 0;text-align: center;">
        <form th:action="@{/admin/sys/download/file/upload}" method="post" enctype="multipart/form-data">
            <input type="text" name="name" placeholder="请输入文件名称或者描述" required>
            <br>
            <br>
            <input type="file" name="file" required>
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
            <input type="submit" value="上传文件">
            <br>
            <br>
            <input type="reset" value="重置">
        </form>
    </div>
</div>

<script th:src="@{/js/jquery-3.4.1.js}"></script>
<script th:src="@{/js/jquery-3.4.1.js}"></script>
<script th:src="@{/layui/layui.js}"></script>
<script th:src="@{/layui/lay/modules/element.js}"></script>
</body>
</html>